package com.d.business.service;

import com.d.business.domain.DingProcessRecordsDO;

import java.util.List;
import java.util.Map;

/**
 * 钉钉审批流程记录表
 *
 * @author wang
 * @email wangfst@foxmail.com
 * @date 2024-03-22 13:40:23
 */
public interface DingProcessRecordsService {

	DingProcessRecordsDO get(Integer id);

	List<DingProcessRecordsDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	int save(DingProcessRecordsDO dingProcessRecords);

	int update(DingProcessRecordsDO dingProcessRecords);

	int remove(Integer id);

    DingProcessRecordsDO getByBusindssNoAndTypeAndStatus(String businessNo, Integer businessType, String status);

	DingProcessRecordsDO getByInstanceIdAndInstanceStatus(String instanceId, String instanceStatus);
}
